"""
删除数据
    del 字典序列[key]
"""
dict1 = {'name':'张三','age':18,'sex':'男'}

del dict1['sex']
print(dict1)

#del dict1
#print(dict1)

dict1.clear()
print(dict1)